package cc.comac.mom.bean;

public class FileChunkInfo {


	/**
	 * 2017年9月21日 Administrator
	 */
	private static final long serialVersionUID = 6150518794266056844L;
	// 当前片序
	private Integer chunkIndex;
	// 文件总片数
	private Integer chunkCount;
	// 分片的文件名称
	private String fileName;
	// 片大小
	private Long chunkSize;
	// 文件唯一标识
	private String uuid;
	// 是否是首片
	private Boolean isFirstChunk;
	// 是否是尾片
	private Boolean isLastChunk =false;
	// 是否分片
	private Boolean chunked = true;



	public Integer getChunkIndex() {
		return chunkIndex;
	}

	public void setChunkIndex(Integer chunkIndex) {
		this.chunkIndex = chunkIndex;
	}

	public Integer getChunkCount() {
		return chunkCount;
	}

	public void setChunkCount(Integer chunkCount) {
		this.chunkCount = chunkCount;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Long getChunkSize() {
		return chunkSize;
	}

	public void setChunkSize(Long chunkSize) {
		this.chunkSize = chunkSize;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Boolean getIsFirstChunk() {
		return isFirstChunk;
	}

	public void setIsFirstChunk(Boolean isFirstChunk) {
		this.isFirstChunk = isFirstChunk;
	}

	public Boolean getIsLastChunk() {
		return isLastChunk;
	}

	public void setIsLastChunk(Boolean isLastChunk) {
		this.isLastChunk = isLastChunk;
	}

	public Boolean getChunked() {
		return chunked;
	}

	public void setChunked(Boolean chunked) {
		this.chunked = chunked;
	}
}
